// FormMainChildDlg12.cpp : implementation file
//

#include "stdafx.h"
#include "diabetes.h"
#include "FormMainChildDlg12.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CFormMainChildDlg12 dialog


CFormMainChildDlg12::CFormMainChildDlg12(CWnd* pParent /*=NULL*/)
	: CDialog(CFormMainChildDlg12::IDD, pParent)
{
	//{{AFX_DATA_INIT(CFormMainChildDlg12)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
}


void CFormMainChildDlg12::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CFormMainChildDlg12)
	DDX_Control(pDX, IDC_DLG12_TAB, m_dlg12_tab);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CFormMainChildDlg12, CDialog)
	//{{AFX_MSG_MAP(CFormMainChildDlg12)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CFormMainChildDlg12 message handlers

BOOL CFormMainChildDlg12::OnInitDialog() 
{
	CDialog::OnInitDialog();

	// skin
	::SetShapeWindowSkin(m_hWnd, "IDD_FORM_MAIN_CHILD_DLG12");

	// tab
	m_dlg12_tab.AddPage("dlg12sub01",&dlg12sub01,IDD_FORM_MAIN_CHILD_DLG12_SUB01);
	m_dlg12_tab.AddPage("dlg12sub02",&dlg12sub02,IDD_FORM_MAIN_CHILD_DLG12_SUB02);
	m_dlg12_tab.AddPage("dlg12sub03",&dlg12sub03,IDD_FORM_MAIN_CHILD_DLG12_SUB03);
	m_dlg12_tab.AddPage("dlg12sub04",&dlg12sub04,IDD_FORM_MAIN_CHILD_DLG12_SUB04);
	m_dlg12_tab.Show();
	return TRUE;
}
